
var app = angular.module('app',['ngRoute']);

app.config(['$routeProvider',function($routeProvider){
	$routeProvider
	.when('/home',{
		templateUrl: 'home/home.html',
		controller: "homeCtrl"
	})
	.when('/marcket:text',{
		templateUrl: 'marcket/marcket.html',
		controller: 'marcketCtrl'
	})
	.when('/cart',{
		templateUrl: 'cart/cart.html',
		controller: 'cartCtrl'
	})
	.otherwise('/home');
}])